<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<title>表单详情</title>
<meta name="keyword" content="拖拽式表单设计器,Web Formbuilder,Formbuild,专业表单设计器,高级表单设计器,智能表单设计器,WEB表单设计器,web formdesign,formdesigner">
<meta name="description" content="拖拽式表单设计器Formbuild是强大的在线WEB表单设计器，它通常在、OA系统、问卷调查系统、考试系统、等领域发挥着重要作用，你可以在此基础上任意修改使功能无限强大！">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="author" content="leipi.org">
<link href="${pageContext.request.contextPath}/Public/css/bootstrap/css/bootstrap.css?2024" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath}/Public/css/site.css?2024" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath}/css/toastr.min.css" rel="stylesheet" type="text/css" />
<style type="text/css">
	#components {
		min-height: 600px;
	}
	
	#fm {
		min-height: 200px;
		border: 1px solid #ccc;
		padding: 5px;
	}
	
	#fm .component {
		border: 1px solid #fff;
	}
	
	#temp {
		width: 500px;
		background: white;
		border: 1px dotted #ccc;
		border-radius: 10px;
	}
	
	.popover-content form {
		margin: 0 auto;
		width: 213px;
	}
	
	.popover-content form .btn {
		margin-right: 10px
	}
	
	#source {
		min-height: 500px;
	}
</style>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/zc/jquery-1.6.2.min.js"></script>
</head>
<body>
	<div class="container">
		<div class="row clearfix">
			<div class="span6">
				<div class="clearfix" style="position: relative;">
					<h2 style="text-align: center;">${model.mName }</h2>
					<hr>
					<form id="fm" class="form-horizontal">
						<div id="legend">
							<input type="hidden" id="mFields" name="mFields" value="${model.mFields }">
							<input type="hidden" id="status03" name="status03" value="${model.mName }">
							<c:forEach items="${model}" var="modelMap">
								<c:if test="${modelMap.value == '1' }">
									<div class="control-group">
										<!-- Text -->
										<label class="control-label leipiplugins-orgname">${modelMap.key}</label>
										<div class="controls">
											<input name="modelValue" readonly type="text" placeholder="请输入${modelMap.key}" class="leipiplugins">
										</div>
									</div>
								</c:if>
								<c:if test="${modelMap.value == '2' }">
									<div class="control-group">
										<!-- TextArea -->
										<label class="control-label leipiplugins-orgname">${modelMap.key}</label>
										<div class="textarea">
											<textarea style="margin-left: 20px" name="modelValue" readonly placeholder="请输入${modelMap.key}" class="leipiplugins" leipiplugins="textarea"></textarea>
										</div>
									</div>
								</c:if>
							</c:forEach>
						</div>
					</form>
					<div style="position: absolute;bottom: -15px;text-align: center;width: 100%;">
						<button type="button" class="btn btn-primary" onclick="history.go(-1)">返回</button>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- /container -->
	<script type="text/javascript" charset="utf-8" src="${pageContext.request.contextPath}/Public/js/jquery-1.7.2.min.js?2024"></script>
	<script type="text/javascript" charset="utf-8" src="${pageContext.request.contextPath}/Public/js/formbuild/bootstrap/js/bootstrap.min.js?2024"></script>
	<script type="text/javascript" charset="utf-8" src="${pageContext.request.contextPath}/Public/js/formbuild/leipi.form.build.core.js?2024"></script>
	<script type="text/javascript" charset="utf-8" src="${pageContext.request.contextPath}/Public/js/formbuild/leipi.form.build.plugins.js?2024"></script>
	<script type="text/javascript" charset="utf-8" src="${pageContext.request.contextPath}/js/toastr.min.js"></script>
</body>
</html>